import {defineStore} from 'pinia';

export const useCounterStore = defineStore('main', () => {
  const title = ref(import.meta.env.VITE_TITLE);

  function setTitle(newTitle) {
    title.value = newTitle;
  }

  return {title, setTitle};
});
